package com.ruoyi.project.propertySystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 巡检分类模板对象 inspect_formwork
 * 
 * @author wangshuo
 * @date 2021-01-18
 */
public class InspectFormwork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 模板id */
    @Excel(name = "模板id")
    private Long formworkId;

    /** 巡检分类id */
    @Excel(name = "巡检分类id")
    private Long classifyId;

    /** 巡检项id */
    @Excel(name = "巡检项id")
    private Long itemId;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;

    /** 创建人 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建人", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改人 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改人", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModify;

    private String classifySn;

    private String classifyName;

    private String itemSn;

    private String itemName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormworkId(Long formworkId) 
    {
        this.formworkId = formworkId;
    }

    public Long getFormworkId() 
    {
        return formworkId;
    }
    public void setClassifyId(Long classifyId) 
    {
        this.classifyId = classifyId;
    }

    public Long getClassifyId() 
    {
        return classifyId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setModifyBy(String modifyBy)
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy()
    {
        return modifyBy;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModify(Date gmtModify) 
    {
        this.gmtModify = gmtModify;
    }

    public Date getGmtModify() 
    {
        return gmtModify;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getClassifySn() {
        return classifySn;
    }

    public void setClassifySn(String classifySn) {
        this.classifySn = classifySn;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getItemSn() {
        return itemSn;
    }

    public void setItemSn(String itemSn) {
        this.itemSn = itemSn;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formworkId", getFormworkId())
            .append("classifyId", getClassifyId())
            .append("itemId", getItemId())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModify", getGmtModify())
            .toString();
    }
}
